package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

/**
 * @author: louk
 * @Description:固定检测项目
 * @date: 2019/11/22 10:24
 *
 */
public class FixedDete extends BasePojo {
    /**
     * 固定检测项目id
     */
    private Integer fixedDeteId;
    /**
     * 固定监测项目编码
     */
    private String fixedDeteNo;

    /**
     * 采集项目名称
     * @return
     */
    private String  deteName;
    /**
     * 上限值
     */
    private Double upperLimit;
    /**
     * 下限值
     */
    private Double lowerLimit;
    /**
     * 中心值
     */
    private Double middleLimit;
    /**
     * 工位id
     */
    private Integer stationId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createDate;
    /**
     * 修改日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String modifyDate;
    /**
     * 备注
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;

    /**
     * @author: louk
     * @Description:以上是数据库定义字段,以下是衍生字段
     * @date: 2019/11/22 10:32
     *
     */
    /**
     * 数据状态名称
     */
    private String dataStateName;
    /**
     * 车间id
     */
    private Integer workshopId;
    /**
     * 车间名称
     */
    private String workshopName;
    /**
     * 产线id
     */
    private Integer productlineId;
    /**
     * 工位名称
     */
    private String stationName;

    /**
     * 产线名称
     * @return
     */
    private String productlineName;

    /**
     * 用户名称
     * @return
     */
    private String userName;
    /**
     * 项目类型
     */
    private Integer projectTypeId;
    /**
     * 项目类型名称
     */
    private String projectTypeName;
    /**
     * 单位id
     */
    private Integer deteUnitId;
    /**
     * 单位名称
     */
    private String deteUnitName;

    public String getProjectTypeName() {
        return projectTypeName;
    }

    public void setProjectTypeName(String projectTypeName) {
        this.projectTypeName = projectTypeName;
    }

    public String getDeteUnitName() {
        return deteUnitName;
    }

    public void setDeteUnitName(String deteUnitName) {
        this.deteUnitName = deteUnitName;
    }

    public Integer getProjectTypeId() {
        return projectTypeId;
    }

    public void setProjectTypeId(Integer projectTypeId) {
        this.projectTypeId = projectTypeId;
    }

    public Integer getDeteUnitId() {
        return deteUnitId;
    }

    public void setDeteUnitId(Integer deteUnitId) {
        this.deteUnitId = deteUnitId;
    }

    public String getDeteName() {
        return deteName;
    }

    public void setDeteName(String deteName) {
        this.deteName = deteName;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public Integer getProductlineId() {
        return productlineId;
    }

    public void setProductlineId(Integer productlineId) {
        this.productlineId = productlineId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }



    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDataStateName() {
        return dataStateName;
    }

    public void setDataStateName(String dataStateName) {
        this.dataStateName = dataStateName;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public String getProductlineName() {
        return productlineName;
    }

    public void setProductlineName(String productlineName) {
        this.productlineName = productlineName;
    }

    public Integer getFixedDeteId() {
        return fixedDeteId;
    }

    public void setFixedDeteId(Integer fixedDeteId) {
        this.fixedDeteId = fixedDeteId;
    }

    public String getFixedDeteNo() {
        return fixedDeteNo;
    }

    public void setFixedDeteNo(String fixedDeteNo) {
        this.fixedDeteNo = fixedDeteNo == null ? null : fixedDeteNo.trim().replace(" ","");
    }



    public Double getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(Double upperLimit) {
        this.upperLimit = upperLimit;
    }

    public Double getLowerLimit() {
        return lowerLimit;
    }

    public void setLowerLimit(Double lowerLimit) {
        this.lowerLimit = lowerLimit;
    }

    public Double getMiddleLimit() {
        return middleLimit;
    }

    public void setMiddleLimit(Double middleLimit) {
        this.middleLimit = middleLimit;
    }

    public Integer getStationId() {
        return stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }
}